package com.hyy.lotterysystem.common.errorcode;

public interface GlobalErrorCodeConstants {
    ErrorCode SUCCESS = new ErrorCode(200, "成功！");

    //系统异常错误
    ErrorCode INTERNAL_SERVER_ERROR = new ErrorCode(500, "系统全局异常！");

    //参数校验错误
    ErrorCode PARAM_ERROR = new ErrorCode(400, "参数校验错误！");

    //未知错误
    ErrorCode UNKNOWN = new ErrorCode(999, "未知错误！");
}
